package com.example.demo.service;

import com.example.demo.pojo.Subject;
import com.example.demo.pojo.Topic;
import com.example.demo.pojo.TopicOption;
import org.bson.Document;

import java.util.List;

public interface SubjectService {

    public void addSubject(Subject subject);

    void addTopicToSubject(String subjectId, Topic topic);

    public List<Topic> findBySubject(String subjectId);

    public void addTopicOptions(String opetionId, TopicOption topicOption);

    public void addAnswer(String oper, String topicId, String topicValue);

    public Document getQuestionnaire(String subjectId);

    public List<Document> getQuestionnaireAnser(String subjectId);
}
